//
//  ViewController.m
//  AudioDemo
//
//  Created by Eric on 12-11-3.
//  Copyright (c) 2012年 Eric. All rights reserved.
//

#import "ViewController.h"


@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)vibrate:(id)sender {
[[PlaySoundUtil sharePlaySoundUtil]playingVibrate];

}
- (void)dealloc {
    [_sysAudio release];
    [super dealloc];
}
- (IBAction)sysAudio:(id)sender {
    [[PlaySoundUtil sharePlaySoundUtil] playingSystemSoundEffectWith:@"Tock" ofType:@"aiff"];

}

- (IBAction)customaudio:(id)sender {
    [[PlaySoundUtil sharePlaySoundUtil] playingSoundEffectWith:@"tap.aif"];

}




@end
